<?php

class Application_Form_Logout extends Zend_Form
{

    public function init()
    {
        $this->setAction(Zend_Controller_Front::getInstance()->getRouter()->assemble(array(), 'logout'));
        $this->setMethod('post');

        $this->addElement('submit', 'submit', array(
            'ignore'   => true,
            'label'    => 'Logout',
        ));

        $this->addElement('hash', 'csrf', array(
            'ignore' => true,
            'salt' => 'form_logout_salt'
        ));
    }


}

